package com.finger.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.finger.common.utils.PageUtils;
import com.finger.gulimall.product.entity.AttrAttrgroupRelationEntity;

import java.util.Map;

/**
 * 属性&属性分组关联
 *
 * @author finger
 * @email 909128695@qq.com
 * @date 2022-03-16 12:43:42
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 级联更新属性id对应数据中的分组id
     *
     * @param attrId      属性id
     * @param attrGroupId 属性分组Id
     */
    void updateRelationDetails(Long attrId, Long attrGroupId);
}

